package com.ydjk.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ydjk.common.annotation.Excel;

import java.util.Date;

/**
 * 模版对象 jk_template
 *
 * @author ruoyi
 * @date 2024-03-29
 */
public class JkTemplate {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 名称
     */
    @Excel(name = "名称")
    private String name;

    /**
     * 模版类型：图文or视频
     */
    @Excel(name = "模版类型：图文or视频")
    private String type;

    /**
     * 推送类型：通用or上肢or下肢
     */
    @Excel(name = "推送类型：通用or上肢or下肢")
    private String pushType;

    /**
     * 模板连接
     */
    @Excel(name = "模板连接")
    private String connect;

    public String getCoverImage() {
        return coverImage;
    }

    public void setCoverImage(String coverImage) {
        this.coverImage = coverImage;
    }

    /**
     * 模板连接
     */
    @Excel(name = "封面图")
    private String coverImage;
    /**
     * 院区
     */
    @Excel(name = "院区")
    private String campus;

    /**
     * 作者
     */
    @Excel(name = "作者")
    private String author;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String isDelete;
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setPushType(String pushType) {
        this.pushType = pushType;
    }

    public String getPushType() {
        return pushType;
    }

    public void setConnect(String connect) {
        this.connect = connect;
    }

    public String getConnect() {
        return connect;
    }

    public void setCampus(String campus) {
        this.campus = campus;
    }

    public String getCampus() {
        return campus;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAuthor() {
        return author;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

}
